package com.quwan.app.vo.pay;

import lombok.Getter;
import org.springframework.lang.Nullable;

/**
 * @author quan
 * @date 2021-06-19 14:44
 */

@Getter
final public class PrePayParams {
    /**
     * 金额
     */
    private String money;
    /**
     * 支付订单id
     */
    private String orderId;
    /**
     * 描述
     */
    private String description;

    private String mId;


    /**
     * 自定义参数 统一回调处理 用于区分用户支付操作购买类型
     * 特殊字符或中文 进行URlencode
     */
    private String custom;

    public PrePayParams(String money, String orderId, String description, String custom, @Nullable String mId) {
        this.money = money;
        this.orderId = orderId;
        this.description = description;
        this.custom = custom;
        this.mId = mId;
    }


}
